.class Lcom/android/inputmethod/latin/CandidateView$2;
.super Landroid/view/GestureDetector$SimpleOnGestureListener;
.source "CandidateView.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/android/inputmethod/latin/CandidateView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/android/inputmethod/latin/CandidateView;


# direct methods
.method constructor <init>(Lcom/android/inputmethod/latin/CandidateView;)V
    .locals 0
    .parameter

    .prologue
    .line 155
    iput-object p1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-direct {p0}, Landroid/view/GestureDetector$SimpleOnGestureListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onScroll(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z
    .locals 4
    .parameter "e1"
    .parameter "e2"
    .parameter "distanceX"
    .parameter "distanceY"

    .prologue
    const/4 v3, 0x1

    .line 157
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-virtual {v1}, Lcom/android/inputmethod/latin/CandidateView;->getWidth()I

    move-result v0

    .line 158
    .local v0, width:I
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-static {v1, v3}, Lcom/android/inputmethod/latin/CandidateView;->access$302(Lcom/android/inputmethod/latin/CandidateView;Z)Z

    .line 159
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    float-to-int v2, p3

    invoke-static {v1, v2}, Lcom/android/inputmethod/latin/CandidateView;->access$412(Lcom/android/inputmethod/latin/CandidateView;I)I

    .line 160
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-static {v1}, Lcom/android/inputmethod/latin/CandidateView;->access$500(Lcom/android/inputmethod/latin/CandidateView;)I

    move-result v1

    if-gez v1, :cond_0

    .line 161
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    const/4 v2, 0x0

    invoke-static {v1, v2}, Lcom/android/inputmethod/latin/CandidateView;->access$602(Lcom/android/inputmethod/latin/CandidateView;I)I

    .line 163
    :cond_0
    const/4 v1, 0x0

    cmpl-float v1, p3, v1

    if-lez v1, :cond_1

    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-static {v1}, Lcom/android/inputmethod/latin/CandidateView;->access$700(Lcom/android/inputmethod/latin/CandidateView;)I

    move-result v1

    add-int/2addr v1, v0

    iget-object v2, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-static {v2}, Lcom/android/inputmethod/latin/CandidateView;->access$800(Lcom/android/inputmethod/latin/CandidateView;)I

    move-result v2

    if-le v1, v2, :cond_1

    .line 164
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    float-to-int v2, p3

    invoke-static {v1, v2}, Lcom/android/inputmethod/latin/CandidateView;->access$920(Lcom/android/inputmethod/latin/CandidateView;I)I

    .line 166
    :cond_1
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    iget-object v2, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-static {v2}, Lcom/android/inputmethod/latin/CandidateView;->access$1100(Lcom/android/inputmethod/latin/CandidateView;)I

    move-result v2

    invoke-static {v1, v2}, Lcom/android/inputmethod/latin/CandidateView;->access$1002(Lcom/android/inputmethod/latin/CandidateView;I)I

    .line 167
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    const/16 v2, 0x3c

    invoke-static {v1, v2}, Lcom/android/inputmethod/latin/CandidateView;->access$1200(Lcom/android/inputmethod/latin/CandidateView;I)V

    .line 168
    iget-object v1, p0, Lcom/android/inputmethod/latin/CandidateView$2;->this$0:Lcom/android/inputmethod/latin/CandidateView;

    invoke-virtual {v1}, Lcom/android/inputmethod/latin/CandidateView;->invalidate()V

    .line 169
    return v3
.end method
